export const leftRoutes = [
  {
    path: "/dataList",
    name: "DataList",
    key: "data_list",
    component: () => import("../views/DataList/index.vue"),
    meta: {
      title: "数据列表",
      type: "page",
    },
  },
  // screen_manage department_manage role_manage user_manage history_site operation_log audit blind_search
  {
    path: "/screenManage",
    name: "ScreenManage",
    key: "screen_manage",
    component: () => import("../views/ScreenManage/index.vue"),
    meta: {
      title: "一屏统管",
      type: "page",
    },
  },
  {
    path: "/departmentManage",
    name: "DepartmentManage",
    key: "department_manage",
    component: () => import("../views/DepartmentManage/index.vue"),
    meta: {
      title: "组织架构",
      type: "system",
    },
  },
  {
    path: "/roleManage",
    name: "RoleManage",
    key: "role_manage",
    component: () => import("../views/RoleManage/index.vue"),
    meta: {
      title: "角色权限",
      type: "system",
    },
  },
  {
    path: "/userManage",
    name: "UserManage",
    key: "user_manage",
    component: () => import("../views/UserManage/index.vue"),
    meta: {
      title: "人员管理",
      type: "system",
    },
  },
  {
    path: "/historySite",
    name: "HistorySite",
    key: "history_site",
    component: () => import("../views/HistorySite/index.vue"),
    meta: {
      title: "历史站点",
      type: "page",
    },
  },
  {
    path: "/operationLog",
    name: "OperationLog",
    key: "operation_log",
    component: () => import("../views/OperationLog/index.vue"),
    meta: {
      title: "操作日志",
      type: "system",
    },
  },
  {
    path: "/audit",
    name: "Audit",
    key: "audit",
    component: () => import("../views/Audit/index.vue"),
    meta: {
      title: "审核",
      type: "page",
    },
  },
  {
    path: "/blindSearch",
    name: "BlindSearch",
    key: "blind_search",
    component: () => import("../views/BlindSearch/index.vue"),
    meta: {
      title: "盲区搜索",
      type: "page",
    },
  },
  {
    path: "/publicToilet",
    name: "PublicToilet",
    key: "public_toilet",
    component: () => import("../views/DataList/publicToilet/index.vue"),
    meta: {
      title: "公共厕所",
      hide: true,
      type: "page",
    },
  },
  {
    path: "/garbageStation",
    name: "GarbageStation",
    key: "garbage_station",
    component: () => import("../views/DataList/garbageStation/index.vue"),
    meta: {
      title: "垃圾压缩站",
      hide: true,
      type: "page",
    },
  },
  {
    path: "/recyclingStation",
    name: "RecyclingStation",
    key: "recycling_station",
    component: () => import("../views/DataList/recyclingStation/index.vue"),
    meta: {
      title: "可回收物点站场",
      hide: true,
      type: "page",
    },
  },
  {
    path: "/sanitationRoom",
    name: "SanitationRoom",
    key: "sanitation_room",
    component: () => import("../views/DataList/sanitationRoom/index.vue"),
    meta: {
      title: "环卫道班房",
      hide: true,
      type: "page",
    },
  },
  {
    path: "/parkingLots",
    name: "ParkingLots",
    key: "parking_lots",
    component: () => import("../views/DataList/parkingLots/index.vue"),
    meta: {
      title: "环卫停车场",
      hide: true,
    },
  },
];
